<%
String name = request.getParameter("name");
String password = request.getParameter("password");

System.out.println("digur.login.jsp -> name -> " + name);

session.setAttribute("name", name);
session.setAttribute("password", password);

if (null != name && null != password && !name.equals("") && !password.equals(""))
{
	// pageContext.forward("digur.user.jsp");
	response.sendRedirect("digur.user.jsp");
}
%>

<html>
	<head><title>Digur, Log in</title></head>
	
	<body>
		<form method="post" action="digur.login.jsp">
			username:<input type="text" name="name" size="20" />
			password:<input type="password" name="password" size="20" />
			<input type="submit" value="Log in" />
		</form>
	</body>
</html>